package com.sdy.dcsb.biz.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdy.common.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 标准服务控制表
 * </p>
 *
 * @author fb
 * @since 2019-09-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@KeySequence(value = "SEQ_ESB_SYSTEM_SERVICE", clazz = Integer.class)
public class EsbSystemService extends BaseModel {
    private static final long serialVersionUID = 1L;

    /**
     * 主键,id
     */
   @TableId(value = "id",type = IdType.INPUT)
    private Integer id;

    /**
     * 标准服务ID
     */
    private Integer  serviceid;

    /**
     * 服务编码
     */
    private String servcode;

    /**
     * 消费者系统ID
     */
    private Integer systemId;

    /**
     * 最大连接数
     */
    private Integer maxclient;

    /**
     * 并发控制时间。默认86400秒(一天)
     */
    private String unit1;

    /**
     * 单位时间内请求数
     */
    private String reqFrequency;

}
